package com.chenyaowei.product.domain;

import com.chenyaowei.common.annotation.Excel;
import com.chenyaowei.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 品牌分类关联对象 cyw_brand_category_relation
 *
 * @author 陈耀威
 * @date 2023-11-22
 */
public class CywBrandCategoryRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 分类id */
    @Excel(name = "分类id")
    private Long catelogId;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brandName;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String catelogName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBrandId(Long brandId)
    {
        this.brandId = brandId;
    }

    public Long getBrandId()
    {
        return brandId;
    }
    public void setCatelogId(Long catelogId)
    {
        this.catelogId = catelogId;
    }

    public Long getCatelogId()
    {
        return catelogId;
    }
    public void setBrandName(String brandName)
    {
        this.brandName = brandName;
    }

    public String getBrandName()
    {
        return brandName;
    }
    public void setCatelogName(String catelogName)
    {
        this.catelogName = catelogName;
    }

    public String getCatelogName()
    {
        return catelogName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brandId", getBrandId())
            .append("catelogId", getCatelogId())
            .append("brandName", getBrandName())
            .append("catelogName", getCatelogName())
            .toString();
    }
}
